//
//  RJNetWork.h
//  AirQuality
//
//  Created by Po on 15/3/13.
//  Copyright (c) 2015年 Po. All rights reserved.
//

#import <Foundation/Foundation.h>
//#import "NetIntranetData.h"
@interface RJNetWork : NSObject

/**
 * 功能：      网络请求（对AFN的简易封装）
 * address:   URL请求地址
 * data:      请求参数字典
 * complete:  成功回调块
 */
+ (void)myNetRequestWithAddress:(NSString *)address data:(NSDictionary *)data completeBlock:(void(^)(id responseObject))complete failBlack:(void(^)(id response))complete;

+ (void)myNetGetWithAddress:(NSString *)address data:(NSDictionary *)data completeBlock:(void(^)(id responseObject))complete;

+ (void)sendNetworkRequestWithUrl:(NSString *)url Dic:(NSDictionary *)parameters Complete:(void(^)(BOOL succeed, id responseObject))complete ;
+ (void)sendNetworkRequestWithUrl1:(NSString *)url Dic:(NSDictionary *)parameters Complete:(void(^)(BOOL succeed, id responseObject))complete;
+ (void)myNetRequestWithAddress1:(NSString *)address data:(NSDictionary *)data completeBlock:(void(^)(id responseObject))complete failBlack:(void(^)(id response))failBlock;
@end
